<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>潮州联通代理商管理系统</title>
<script language=JavaScript>
function logout(){
	if (confirm("您确定要退出控制面板吗？"))
	   top.location = "/system/Logout.do";
	return false;
}
function xh(){
	alert("温馨提升：存费送机用户请在<手机捆绑选号>中选择，普通200送300的用户请在<选号开户>中选择。");
    return true;
}
</script>
<script src="/js/prototype.lite.js" type="text/javascript"></script>
<script src="/js/moo.fx.js" type="text/javascript"></script>
<script src="/js/moo.fx.pack.js" type="text/javascript"></script>
<style>
body {
	font:12px Arial, Helvetica, sans-serif;
	color: #000;
	background-color: #EEF2FB;
	margin: 0px;
}
#container {
	width: 182px;
}
H1 {
	font-size: 12px;
	margin: 0px;
	width: 182px;
	cursor: pointer;
	height: 30px;
	line-height: 20px;	
}
H1 a {
	display: block;
	width: 182px;
	color: #000;
	height: 30px;
	text-decoration: none;
	moz-outline-style: none;
	background-image: url(/images/menu_bgS.gif);
	background-repeat: no-repeat;
	line-height: 30px;
	text-align: center;
	margin: 0px;
	padding: 0px;
}
.content{
	width: 182px;
	height: 26px;
	
}
.MM ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	display: block;
}
.MM li {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	color: #333333;
	list-style-type: none;
	display: block;
	text-decoration: none;
	height: 26px;
	width: 182px;
	padding-left: 0px;
}
.MM {
	width: 182px;
	margin: 0px;
	padding: 0px;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	clip: rect(0px,0px,0px,0px);
}
.MM a:link {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	color: #333333;
	background-image: url(/images/menu_bg1.gif);
	background-repeat: no-repeat;
	height: 26px;
	width: 182px;
	display: block;
	text-align: center;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	text-decoration: none;
}
.MM a:visited {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	color: #333333;
	background-image: url(/images/menu_bg1.gif);
	background-repeat: no-repeat;
	display: block;
	text-align: center;
	margin: 0px;
	padding: 0px;
	height: 26px;
	width: 182px;
	text-decoration: none;
}
.MM a:active {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	color: #333333;
	background-image: url(/images/menu_bg1.gif);
	background-repeat: no-repeat;
	height: 26px;
	width: 182px;
	display: block;
	text-align: center;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	text-decoration: none;
}
.MM a:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	font-weight: bold;
	color: #006600;
	background-image: url(/images/menu_bg2.gif);
	background-repeat: no-repeat;
	text-align: center;
	display: block;
	margin: 0px;
	padding: 0px;
	height: 26px;
	width: 182px;
	text-decoration: none;
}
</style>
</head>

<body>
<table width="100%" height="280" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEF2FB">
  <tr>
    <td width="182" valign="top"><div id="container">
      <s:if test="%{#session.USER_INFO.userLevel=='boss'}">
      <h1 class="type"><a href="javascript:void(0)">佣金查询</a></h1>
      <div class="content">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="/images/menu_topline.gif" width="182" height="5" /></td>
          </tr>
        </table>
        <ul class="MM">
          <li><a href="/commision/total.do" target="main">汇总佣金查询</a></li>
          <li><a href="/commision/totalJf.do" target="main">积分查询</a></li>
          <li><a href="/commision/detail2G.do?curCommId=2G02" target="main">2G佣金明细</a></li>
          <li><a href="/commision/detail3G.do?curCommId=3G01" target="main">3G佣金明细</a></li>
       <!--   <li><a href="/commision/detailGW.do?curCommId=GW01" target="main">固网佣金明细</a></li> -->
        </ul>
      </div>
      </s:if>
      <h1 class="type"><a href="javascript:void(0)">实用查询</a></h1>
      <div class="content">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="/images/menu_topline.gif" width="182" height="5" /></td>
          </tr>
        </table>
        <ul class="MM">
          <li><a href="/query/detailAlert.do?curAlertId=3G01" target="main" style="color:red">佣金结算预警</a></li>
          <!--
          <li><a href="/query/lsalert.do" target="main" style="color:red">流失率预警</a></li> -->
          <li><a href="/query/cardNew.do" target="main">卡类激活查询</a></li>
          <li><a href="/query/serialInfo.do" target="main">用户信息查询</a></li>
        </ul>
      </div>
      <h1 class="type"><a href="javascript:void(0)">选号开户</a></h1>
      <div class="content">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="/images/menu_topline.gif" width="182" height="5" /></td>
          </tr>
        </table>
        <ul class="MM">
		  <li><a href="/xh/xh.do"  target="main">选号开户</a></li>
           <li><a href="/xh/mobhm.do"  target="main">手机捆绑选号</a></li>
        </ul>
      </div>
      <h1 class="type"><a href="javascript:void(0)">手机管理</a></h1>
      <div class="content">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="/images/menu_topline.gif" width="182" height="5" /></td>
          </tr>
        </table>
        <ul class="MM">
          <li><a href="/mobile/mobinpre.do" target="main">手机入库</a></li>
		  <li><a href="/mobile/mobout.do" target="main">手机出库</a></li>
          <li><a href="/login/modpas.jsp" target="main">手机回收</a></li>
        </ul>
      </div>
      <h1 class="type"><a href="javascript:void(0)">系统管理</a></h1>
      <div class="content">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="/images/menu_topline.gif" width="182" height="5" /></td>
          </tr>
        </table>
        <ul class="MM">
		  <li><a href="/article/article.do" target="main" style="color:red">最新消息</a></li>
          <li><a href="/login/modpas.jsp" target="main">修改密码</a></li>
          <li><a href="#" target="main" onClick="logout();">退出登陆</a></li>
        </ul>
      </div>
      <h1 class="type"><a href="javascript:void(0)">&nbsp;</a></h1>
      </div>
        <script type="text/javascript">
		var contents = document.getElementsByClassName('content');
		var toggles = document.getElementsByClassName('type');
	
		var myAccordion = new fx.Accordion(
			toggles, contents, {opacity: true, duration: 400}
		);
		myAccordion.showThisHideOpen(contents[0]);
		myAccordion.showThisHideOpen(contents[1]);
		myAccordion.showThisHideOpen(contents[2]);
		myAccordion.showThisHideOpen(contents[3]);
		<s:if test="%{#session.USER_INFO.userLevel=='boss'}">
		myAccordion.showThisHideOpen(contents[4]);
		</s:if>
		
	</script>
        </td>
  </tr>
</table>
</body>
</html>
